#pragma once

#include "HWRealization.h"
class HWTexture;
class CBrush;

class HWShapeRealization :
	public HWRealization
{

private: 
	virtual ~HWShapeRealization();

public: 
	HWShapeRealization();
	void SetStrokeHwTexture(HWTexture * pNewStrokeHwTexture);
	HWTexture * GetStrokeHwTexture();
	void SetFillHwTexture(HWTexture * pNewFillHwTexture);
	HWTexture * GetFillHwTexture();
	virtual XBOOL HasLostRealizationTexture();
	XBOOL MaskNeedsUpdate(CBrush * pFillBrush, XBOOL fFillBrushDirty, CBrush * pStrokeBrush, XBOOL fStrokeBrushDirty);
	XBOOL MaskPartNeedsUpdate(CBrush * pBrush, XBOOL fBrushDirty, HWTexture * pHwTexture, XBOOL * pWasClipped);
private: 
	HWTexture * m_pStrokeHwTexture;
	HWTexture * m_pFillHwTexture;
	XBOOL m_fStrokeWasClipped;
	XBOOL m_fFillWasClipped;



};